var mongoose = require('mongoose')
    , Schema = mongoose.Schema;

var db = require('../index').db;

var userSchema = new Schema({
    id: String,
    name: String,
    age: Number
}, {
        versionKey: false, // 不自动插入__v字段
        collection: 'user'
    });

// var user = exports.user = db.model('user', userSchema);
exports.userSchema = userSchema;